package com.zyh.system.JDsupermarkt.dao;

import com.zyh.system.JDsupermarkt.domain.BuyCar;

import java.util.LinkedHashMap;

public interface BuyCarDao {
    boolean addBuyCar(LinkedHashMap<Integer, BuyCar> map, BuyCar car, Integer id);

    Double showBuyCay(LinkedHashMap<Integer, BuyCar> map);

    BuyCar selectById(LinkedHashMap<Integer, BuyCar> map,Integer id);

    BuyCar deleteById(LinkedHashMap<Integer, BuyCar> map,Integer id);

    boolean clearBuyCar(LinkedHashMap<Integer, BuyCar> map);
}
